Prizm Content Connect
Using a Custom Resource Path

In some instances you may want to change the path that the viewercontrol.js uses to look for images. For example, instead of img you would like to use images. To achieve this, add the resourcePath parameter to the Viewer plugin configuration options and specify the new path.

The trailing slash is not required and this path can be absolute or relative. Some examples of valid paths are:

Example Title
Copy Code
var pluginOptions = {
    documentID: viewingSessionId,
    language: languageItems,
    template: htmlTemplates,
    resourcePath: ‘images’
}
If you change the image directory name you will also need to update the background image URIs in the viewer.css

 

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback